package com.huike.contract.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.huike.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

public class TbContractWy implements Serializable {
    private Integer pageNum;
    private Integer pageSize;
    private Integer userId;
    private String userName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    private String phonenumber;

    public TbContractWy() {
    }

    public TbContractWy(Integer pageNum, Integer pageSize, Integer userId, String userName, Date beginTime, Date endTime, String phonenumber) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.userId = userId;
        this.userName = userName;
        this.beginTime = beginTime;
        this.endTime = endTime;
        this.phonenumber = phonenumber;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    @Override
    public String toString() {
        return "TbContractWy{" +
                "pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", phonenumber='" + phonenumber + '\'' +
                '}';
    }
}
